Skip to content

Support Set inspection in DWDS #2024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 9, 2023
Merged

Conversation

elliette
Copy link
Contributor

@elliette elliette commented Mar 9, 2023

Fixes #2001, flutter/devtools#5323

This PR adds support for Set inspection in DWDS. Seems like Set support was never added before.

@elliette
Copy link
Contributor Author

elliette commented Mar 9, 2023

Is there a reason we check in the generated client.js to Github? I was thinking it might make sense to .gitignore it

@@ -150,6 +151,11 @@ void printMap() {
print(map); // Breakpoint: printMap
}

void printSet() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we currently run those tests for sound null safety only, but I think we should keep the weak and sound project in sync (just in case:). Should we change the _testPackage/web/main to match?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, added the test cases for lists, and maps as well

Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with an ask to make weak tests fixtures match the sound ones

@elliette elliette merged commit c8d4439 into dart-lang:master Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DWDS incorrectly returns kind for Set as PlainInstance instead of Set
2 participants